home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / gse.z / gse
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggsssseeee((((7777))))                                                                  ggggsssseeee((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gse - Silicon Graphics 5080 workstation interface card
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The special file /dev/gse provides access to the Silicon Graphics 5080
  13.      workstation interface card, which connects a Silicon Graphics 4D system
  14.      to a Channel Controller attached to an IBM mainframe.  The connection of
  15.      the interface card can be coaxial, V.35, or T1.
  16.  
  17.      This special file is used by the IBM 5080 emulator (em5080(1)).  The
  18.      following control functions are provided by the driver to the emulator
  19.      via ioctl(2).
  20.  
  21.          #include <sys/gseio.h>
  22.          struct gse_io gseio;
  23.  
  24.          ioctl(fd,GIO_INIT,0);/* reset the controller */
  25.          ioctl(fd,GIO_SETIV,0);/* load the intr vector */
  26.          ioctl(fd,GIO_WAIT,timeout);/* wait for controller intr */
  27.          ioctl(fd,GIO_SIGNAL,signal);/* send signal on controller intr */
  28.          ioctl(fd,GIO_READ,&gseio);/* cp from controller to user buf */
  29.          ioctl(fd,GIO_WRITE,&gseio);/* cp from user buf to controller */
  30.  
  31.          struct gse_io {
  32.               int  v_addr; /* user virtual address */
  33.               int  d_addr; /* device real address */
  34.               int  byte_ct;/* byte count */
  35.          };
  36.  
  37.      Access to the board from the application level emulator is also done
  38.      through memory mapped addressing directly.  The standard mmap(2) function
  39.      is provided by the driver to set that up.
  40.  
  41.      The standard select(2) function is also supported by the driver to
  42.      facilitate the operation on the controller event from the emulator.
  43.  
  44. FFFFIIIILLLLEEEESSSS
  45.      /dev/gse
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      cleanup(1), em3270(1), em5080(1), gateway(1), ld5080(1), sh5080(1).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.